package com.pureut.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.order.domain.CustomerComplaintsManagement;
import com.pureut.order.dto.CustomerComplaintsManagementDto;
import com.pureut.order.dto.CustomerComplaintsSolutionDto;
import com.pureut.order.dto.CustomerComplaintsSolutionViewDto;
import com.pureut.order.vo.CustomerComplaintsManagementVo;
import com.pureut.order.vo.OrderReviewVo;

import java.util.List;

/***
 *
 * Author:C
 * Date:2022/11/30 10:16
 * @DESC
 */
public interface CustomerComplaintsManagementService extends IService<CustomerComplaintsManagement> {

    /**
     * 客诉管理列表
     */
    List<CustomerComplaintsManagementDto> getList(CustomerComplaintsManagementVo customerComplaintsManagementVo);

    /**
     * 新增客诉信息
     */
    boolean addCustomerComplaintsManagement(CustomerComplaintsManagementVo customerComplaintsManagementVo);

    /**
     * 提交审核
     */
    boolean submitReview(Long id);

    /**
     * 撤销审核
     */
    boolean deleteReview(Long id);

    /**
     * 删除
     */
    boolean deleteCustomerComplaintsManagement(String ids);

    /**
     * 查看解决方案
     */
    CustomerComplaintsSolutionDto viewSolution(Long id);

    /**
     * 修改
     */
    boolean updateCustomerComplaintsById(CustomerComplaintsManagementVo customerComplaintsManagementVo);

    /**
     * 客诉审核
     */
    boolean complaintsReview(OrderReviewVo orderReviewVo);

    /**
     * 方案审核
     */
    boolean programmeReview(OrderReviewVo orderReviewVo);
}
